package com.oa.common.identity;

import java.util.UUID;

/**
 * @author cuichao
 * @Description: UUIDRandomIdGen
 * @Date: create in 2020/10/2 14:00
 */
public class UUIDRandomIdGen implements IdGenerate<String> {

    @Override
    public String getId(String key) {
        String uuid = UUID.randomUUID().toString().replaceAll("-","");
        return uuid;
    }


}
